package com.jame.annotations.bean;

import com.jame.typeenum.ScopeType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author : Jame
 * @date : 2021-06-13 17:26
 **/
@Target({ElementType.TYPE,ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Scope {
    ScopeType scopeType() default ScopeType.Singleton;
}
